package com.xszx.bean.dto;

public class CartDto {
    private Integer id;
    private Integer userId;
    private Integer goodsId;
    private Integer goodsCount;

    private String goodsName;
    private Double goodsPrice;
    private String goodsImageUrl;
    private Integer goodsState;

    public CartDto(Integer id, Integer userId, Integer goodsId, Integer goodsCount, String goodsName, Double goodsPrice, String goodsImageUrl, Integer goodsState) {
        this.id = id;
        this.userId = userId;
        this.goodsId = goodsId;
        this.goodsCount = goodsCount;
        this.goodsName = goodsName;
        this.goodsPrice = goodsPrice;
        this.goodsImageUrl = goodsImageUrl;
        this.goodsState = goodsState;
    }

    public CartDto() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public Integer getGoodsCount() {
        return goodsCount;
    }

    public void setGoodsCount(Integer goodsCount) {
        this.goodsCount = goodsCount;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public Double getGoodsPrice() {
        return goodsPrice;
    }

    public void setGoodsPrice(Double goodsPrice) {
        this.goodsPrice = goodsPrice;
    }

    public String getGoodsImageUrl() {
        return goodsImageUrl;
    }

    public void setGoodsImageUrl(String goodsImageUrl) {
        this.goodsImageUrl = goodsImageUrl;
    }

    public Integer getGoodsState() {
        return goodsState;
    }

    public void setGoodsState(Integer goodsState) {
        this.goodsState = goodsState;
    }
}
